home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 3 / ct-rom iiib.zip / ct-rom iiib / WINDOWS / DIVERSEN / WINE02BX / CHISTORY.ELC < prev    next >
Text File  |  1993-03-28  |  5KB  |  63 lines

  1. ;;; compiled by jwz@thalidomide on Thu Jul  2 16:32:00 1992
  2. ;;; from file /u/jwz/emacs19/lisp/packages/chistory.el
  3. ;;; emacs version 19.2.1 Lucid.
  4. ;;; bytecomp version 2.07; 17-jun-92.
  5. ;;; optimization is on.
  6. ;;; this file uses opcodes which do not exist in Emacs18.
  7.  
  8. (if (and (boundp 'emacs-version)
  9.      (or (and (boundp 'epoch::version) epoch::version)
  10.          (string-lessp emacs-version "19")))
  11.     (error "This file was compiled for Emacs19."))
  12.  
  13. (provide 'chistory)
  14. (fset 'repeat-matching-complex-command #[(&optional pattern) "½ô┴┬\"«éG├Oë─ܽé├├ë½│¼»@½è┴╔@!\"½ò╩╦╠═!ë\"!½ç@¬QAë¼M¼à╬╧!¬Å@@╨=½âA╤╥\"+ç" [pattern string-match "[     ]*[^     ]" nil "" command-history what temp history symbol-name y-or-n-p format "Redo %s? " prin1-to-string error "Command history exhausted." repeat-matching-complex-command edit-and-eval-command "Redo: "] 6 "\
  15. Edit and re-evaluate complex command with name matching PATTERN.
  16. Matching occurrences are displayed, most recent first, until you
  17. select a form for evaluation.  If PATTERN is empty (or nil), every form
  18. in the command history is offered.  The form is placed in the minibuffer
  19. for editing and the result is evaluated." "sRedo Command (regexp): "])
  20. (defvar default-command-history-filter-garbage '(command-history-mode list-command-history electric-command-history) "\
  21. *A list of symbols.  If  default-list-command-history-filter  is
  22. given a list whose car is an element of this list, then it will return
  23. non-nil (indicating the list should be discarded from the history).
  24. Initially, all commands related to the command history are discarded.")
  25. (defvar list-command-history-filter 'default-command-history-filter "\
  26. If non-nil, should be the name of a function of one argument.
  27. It is passed each element of the command history when
  28. \\[list-command-history] is called.  If the filter returns non-nil for
  29. some element, that element is excluded from the history listing.  The
  30. default filter removes commands associated with the command-history.")
  31. (fset 'default-command-history-filter #[(frob) ":?«ä@    >ç" [frob default-command-history-filter-garbage] 2 "\
  32. Filter commands matching  default-command-history-filter-garbage  list
  33. from the command history."])
  34. (defvar list-command-history-max 32 "\
  35. *If non-nil, should be a positive number which specifies the maximum
  36. length of the Command History listing produced by list-command-history.")
  37. (fset 'list-command-history #[nil "└É    ┬ «ü─╚U¼¿½ñ╔╩!½î\n½ê\n@!¼îS╦@!ê╠ êA¬S+è└qêebêm½à═╬!¬é╧ )æç" ["*Command History*" command-history nil list-command-history-max -1 count buffer-read-only history 0 boundp list-command-history-filter prin1 terpri error "No command history." Command-history-setup] 4 "\
  38. List history of commands typed to minibuffer.
  39. The number of commands listed is controlled by  list-command-history-max.
  40. Calls value of  list-command-history-filter  (if non-nil) on each history
  41. element to judge if that element should be excluded from the list.
  42.  
  43. The buffer is left in Command History mode." nil])
  44. (fset 'Command-history-setup #[(&optional majormode modename keymap) "└qê┴\n«ü !ê─┼!ê╞!ê╚    ┴\n«ü !ê\n«ü╦ «ü╬ëç" ["*Command History*" use-local-map keymap command-history-map lisp-mode-variables nil set-syntax-table emacs-lisp-mode-syntax-table t buffer-read-only majormode command-history-mode major-mode modename "Command History" mode-name] 2])
  45. (defvar command-history-hook nil "\
  46. If non-nil, its value is called on entry to  command-history-mode.")
  47. (byte-code "└┴!¼é┬    ¼ñ├ ─    \"ê╞    !ê╟    ╚╔#ê╟    ╩╦#ê╟    ╠╦#ê╟    ═╬#ê┬ç" [boundp command-history-map nil make-sparse-keymap set-keymap-parent shared-lisp-mode-map suppress-keymap define-key "x" command-history-repeat "\n" next-line "" "" previous-line] 4)
  48. (fset 'command-history-repeat #[nil "è└è┴yê┬p!)├ Aqê!)ç" [eval 0 read buffer-list] 3 "\
  49. Repeat the command shown on the current line.
  50. The buffer for that command is the previous current buffer." nil])
  51. (fset 'command-history-mode #[nil "└ ê┴┬!ê├─!ç" [list-command-history pop-to-buffer "*Command History*" run-hooks command-history-hook] 2 "\
  52. Major mode for examining commands from  command-history.
  53. The number of commands listed is controlled by  list-command-history-max.
  54. The command history is filtered by  list-command-history-filter  if non-nil.
  55. \\<command-history-map>Use \\[command-history-repeat] to repeat the command on the current line.
  56.  
  57. Otherwise much like Emacs-Lisp Mode except that there is no self-insertion
  58. and digits provide prefix arguments.  Tab does not indent.
  59. \\{command-history-map}
  60. Calls the value of  command-history-hook  if that is non-nil
  61. The Command History listing is recomputed each time this mode is
  62. invoked." nil])
  63.